﻿
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ManagerUser_left.ascx.cs" Inherits="WebHousingInfo.Controls.ManagerUser_left" %>
<div id="group_3">
    <div id="my_nd">
	    <div class="title_tt">THÔNG TIN LIÊN HỆ</div>
	    <div class="content">
	     <% if (Session["UserName"] != null)
         {
             var objectusers = HousingInfo.Library.UserBO.GetUserBO(Session["UserName"].ToString());%>
	        <div style="width:100%; text-align:center;margin-top:5px;">
                <% if (objectusers.Avatar != null && objectusers.Avatar != "")
                   {
                       string avatar = objectusers.Avatar;
                       if (checkurlimage(avatar) == true)
                       {
                           string url = "TotalUpload/UserAvatar/" + avatar;
                    %>   
                    <a href="#"><img border="0" alt="" width="130px" height="130px" src="<%=url %>" /></a>
                    <%}
                       else
                       {%>
                        <a href="#"><img border="0" alt="" width="130px" height="130px" src="Images/noavatar.jpg" /></a>
                    <%}
                   }
                   else
                   {%>
                   <a href="#"><img border="0" alt="" width="130px" height="130px" src="Images/noavatar.jpg" /></a> 
                <%}  
                %>
            </div>
            <%}
         else
         {
             Response.Redirect("DangNhap.aspx");
         } %>
		    <ul>
			    <li><a href="ThayDoiThongTin.aspx"><img src="images/icon_edit.gif" border="0" align="absmiddle" />Chỉnh sửa thông tin liên hệ</a></li>
			    <li><a href="ThayDoiMatKhau.aspx"><img src="images/icon_edit.gif" border="0" align="absmiddle" />Thay đổi mật khẩu</a></li>
		    </ul>
	    </div>
    </div>
    <div id="my_nd">
	    <div class="title_rv">QUẢN LÝ TIN NHÀ ĐẤT</div>
	    <div class="content">
		    <ul>
		        <li><a href="QuanLyCaNhan.aspx"><img src="image/all.ico" width="15px" height="15px" border="0" align="absmiddle" />Tất cả tin <asp:Label ID="lbltatca" runat="server" Text="[0]"></asp:Label></a></li>
			    <li><a href="QuanLyCaNhan.aspx?xemtin=dangdang"><img src="images/icon_dang.gif" border="0" align="absmiddle" />Tin đang đăng 
                    <asp:Label ID="lbldangdang" runat="server" Text="[0]"></asp:Label></a>
                </li>
			    <li><a href="QuanLyCaNhan.aspx?xemtin=hethan"><img src="images/icon_xoa.gif" border="0" align="absmiddle" />Tin hết hạn <asp:Label ID="lblhethan" runat="server" Text="[0]"></asp:Label></a></li>
			    <li><a href="QuanLyCaNhan.aspx?xemtin=daluu"><img src="images/icon_save.gif" border="0" align="absmiddle" />Tin đã lưu <asp:Label ID="lbldaluu" runat="server" Text="[0]"></asp:Label></a></li>
			    <li><a href="QuanLyCaNhan.aspx?xemtin=traphi"><img src="image/Greendollar.ico" width="15px" height="15px" border="0" align="absmiddle" />Tin trả phí <asp:Label ID="lbltraphi" runat="server" Text="[0]"></asp:Label></a></li>
			    <li><a href="QuanLyCaNhan.aspx?xemtin=choduyet"><img src="images/icon_edit.gif" border="0" align="absmiddle" />Tin chờ duyệt <asp:Label ID="lblchoduyet" runat="server" Text="[0]"></asp:Label></a></li>
		    </ul>
	    </div>
    </div>
</div>